Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODFacet


GetCanvas

The GetCanvas method returns a reference to the canvas associated with this facet.

ODCanvas GetCanvas ();
return value
A reference to the canvas associated with this facet.
DISCUSSION
If this facet has no canvas of its own, this method searches recursively for the containing facet's canvas.

EXCEPTIONS
kODErrCanvasNotFound
Neither this facet nor any of its containing facets has a canvas.
SEE ALSO
The ODFacet::ChangeCanvas method (page 233).
The ODFacet::HasCanvas method (page 250).
Listing 2-18 on page 68 in OpenDoc Cookbook.
"Setting Up" on page 157 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help